3.1814 \(\int \frac {(a+b x)^2}{(a c+(b c+a d) x+b d x^2)^2} \, dx\)

Optimal. Leaf size=12 \[ -\frac {1}{d (c+d x)} \]

[Out]

-1/d/(d*x+c)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {626, 32} \[ -\frac {1}{d (c+d x)} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*x)^2/(a*c + (b*c + a*d)*x + b*d*x^2)^2,x]

[Out]

-(1/(d*(c + d*x)))

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rule 626

Int[((d_) + (e_.)*(x_))^(m_.)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[(d + e*x)^(m + p)*(a
/d + (c*x)/e)^p, x] /; FreeQ[{a, b, c, d, e, m}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[c*d^2 - b*d*e + a*e^2, 0] &&
 IntegerQ[p]

Rubi steps

\begin {align*} \int \frac {(a+b x)^2}{\left (a c+(b c+a d) x+b d x^2\right )^2} \, dx &=\int \frac {1}{(c+d x)^2} \, dx\\ &=-\frac {1}{d (c+d x)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 12, normalized size = 1.00 \[ -\frac {1}{d (c+d x)} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x)^2/(a*c + (b*c + a*d)*x + b*d*x^2)^2,x]

[Out]

-(1/(d*(c + d*x)))

________________________________________________________________________________________

fricas [A]  time = 0.98, size = 13, normalized size = 1.08 \[ -\frac {1}{d^{2} x + c d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^2/(a*c+(a*d+b*c)*x+b*d*x^2)^2,x, algorithm="fricas")

[Out]

-1/(d^2*x + c*d)

________________________________________________________________________________________

giac [A]  time = 0.17, size = 12, normalized size = 1.00 \[ -\frac {1}{{\left (d x + c\right )} d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^2/(a*c+(a*d+b*c)*x+b*d*x^2)^2,x, algorithm="giac")

[Out]

-1/((d*x + c)*d)

________________________________________________________________________________________

maple [A]  time = 0.04, size = 13, normalized size = 1.08 \[ -\frac {1}{\left (d x +c \right ) d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)^2/(a*c+(a*d+b*c)*x+b*d*x^2)^2,x)

[Out]

-1/d/(d*x+c)

________________________________________________________________________________________

maxima [A]  time = 1.08, size = 13, normalized size = 1.08 \[ -\frac {1}{d^{2} x + c d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^2/(a*c+(a*d+b*c)*x+b*d*x^2)^2,x, algorithm="maxima")

[Out]

-1/(d^2*x + c*d)

________________________________________________________________________________________

mupad [B]  time = 0.54, size = 12, normalized size = 1.00 \[ -\frac {1}{d\,\left (c+d\,x\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x)^2/(a*c + x*(a*d + b*c) + b*d*x^2)^2,x)

[Out]

-1/(d*(c + d*x))

________________________________________________________________________________________

sympy [A]  time = 0.17, size = 10, normalized size = 0.83 \[ - \frac {1}{c d + d^{2} x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)**2/(a*c+(a*d+b*c)*x+b*d*x**2)**2,x)

[Out]

-1/(c*d + d**2*x)

________________________________________________________________________________________